package 结构型模式.装饰者模式;

/**装饰者的抽象
 * @author chenhs
 * @date 2020/10/15
 */
public class ArnisherA  extends Arnisher{
	public  ArnisherA(ITarget target){
		super(target);
	}
	@Override
	public void speak() {
		target.speak();
		cat();
	}
	public  void  cat(){
		System.out.println("我是具体装饰者A的私有方法");
	}
}
